<div class="showDataMain">
    <!-- <el-button @click="openBox(-1)" size="large">添加营业时间</el-button> -->

    <div :class="'addButton '" 
        @click="openBox(-1)">
        <i class="el-icon-circle-plus-outline"></i>
        <div class="t">添加营业时间</div>
    </div>
    <div class="mainBox">
        <!-- {{toperate}} -->
        <div v-for="(item,index) in toperate" :key="index"  class="item">
            <div class="time">
                <div class="t1">
                    {{item.week}}
                </div>
                <div class="t2">
                    {{item.time}}
                </div>
            </div>
            <div class="but" @click="openBox(index)">
                <div class="el-icon-edit" ></div>
            </div>
            <div class="but"  @click="deleteData(index)">
                <div class="el-icon-delete"></div>
            </div>
        </div>
    </div>
</div>
